<?php

namespace Home\Model;
use Think\Model;

class UserModel extends Model{
  /**
   * 用户账户验证
   * @param array $data => [ 用户电话, 用户密码 ]
   * @return boole  $user 查询到的用户信息
   */
  public function userVrify($data){
    $data['password']=md5("muxi".md5($data['password']));
    $user=$this->where($data)->find();
    return $user;
  }
}
